package id.co.rho.scoring.cid.client.command.impl;

import id.co.rho.scoring.cid.client.command.CommandAction;

/**
 * Created by IntelliJ IDEA.
 * User: frizky
 * Date: 10/17/11
 * Time: 1:47 PM
 */
public class LoginCommandAction implements CommandAction<LoginCommandResult> {
    public enum TYPE {FIRSTLOAD, LOGIN, LOGOUT}
    String username;
    String password;
    String stringCockie;
    TYPE type;

    public LoginCommandAction() {
    }

    public LoginCommandAction(TYPE type) {
        this.type = type;
    }

    public LoginCommandAction(TYPE type, String username, String password, String stringCockie) {
        this.type = type;
        this.username = username;
        this.password = password;
        this.stringCockie = stringCockie;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStringCockie() {
        return stringCockie;
    }

    public void setStringCockie(String stringCockie) {
        this.stringCockie = stringCockie;
    }

    public TYPE getType() {
        return type;
    }

    public void setType(TYPE type) {
        this.type = type;
    }
}
